const Layout1 = () => import('@/layout/index.vue')
const About = () => import('@/views/test1/About.vue')
const Home = () => import('@/views/test1/Home.vue')

export default [
  {
    path: '/test1',
    component: Layout1,
    name: 'test1',
    meta: {
      title: '首页',
    },
    icon: 'el-icon-location',
    children: [
      {
        path: '',
        name: 'about',
        component: About,
        meta: {
          title: '工作台',
        },
        icon: 'el-icon-suitcase-1',
      },
      {
        path: 'home',
        name: 'home',
        component: Home,
        meta: {
          title: '账户设置',
        },
        icon: 'el-icon-setting',
        //hidden: true, // 不在菜单中显示
      },
    ],
  },
]
